
<div class="col-lg-2 col-md-2 col-sm-2 left-container">
    <h3 class="cates">博客分类</h3>
    <ul class="cate-list">
    <?php foreach($cates as $cate){?>
        <li>
            <a data-cid="<?php echo $cate['id']?>" href="/blog/index.php?cid=<?php echo $cate['id']?>"><?php echo $cate['title']?></a>
        </li>
    <?php }?>
    </ul>
</div>